package com.childmiles.gwt.client;

import java.util.List;

import com.childmiles.gwt.client.domain.AwardWinner;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>AwardWinnerService</code>.
 */
public interface AwardWinnerServiceAsync {
    void save(AwardWinner awardWinner, AsyncCallback callback);

    void find(String awardWinnerName, AsyncCallback<AwardWinner> callback);

    void findAll(AsyncCallback<List<AwardWinner>> callback);
}
